.class public Lcom/estrongs/android/ui/topclassify/n;
.super Lcom/estrongs/android/ui/topclassify/c;
.source "SendFunctionEntry.java"


# instance fields
.field private e:Landroid/view/View$OnClickListener;


# direct methods
.method public constructor <init>(Ljava/lang/String;Landroid/content/Context;Lcom/estrongs/android/ui/homepage/HomeAdapter;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/topclassify/c;-><init>(Ljava/lang/String;Landroid/content/Context;)V

    .line 2
    new-instance p1, Lcom/estrongs/android/ui/topclassify/n$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/topclassify/n$a;-><init>(Lcom/estrongs/android/ui/topclassify/n;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/n;->e:Landroid/view/View$OnClickListener;

    return-void
.end method

.method private b(I)Ljava/lang/String;
    .locals 1

    const/16 v0, 0x3e7

    if-lt p1, v0, :cond_0

    const-string p1, "999+"

    goto :goto_0

    .line 1
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p1, ""

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    :goto_0
    return-object p1
.end method

.method private h()I
    .locals 1

    const v0, 0x7f0c01ac

    return v0
.end method


# virtual methods
.method public a()Ljava/util/List;
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Landroid/view/View;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/c;->c:Ljava/util/List;

    const/4 v1, 0x0

    if-eqz v0, :cond_2

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    .line 4
    iget-object v3, p0, Lcom/estrongs/android/ui/topclassify/c;->c:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/android/ui/topclassify/e;

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/n;->h()I

    move-result v5

    invoke-virtual {v2, v5, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v5

    const/4 v6, 0x1

    .line 6
    invoke-virtual {v5, v6}, Landroid/view/View;->setFocusable(Z)V

    const v6, 0x7f0800e3

    .line 7
    invoke-virtual {v5, v6}, Landroid/view/View;->setBackgroundResource(I)V

    const v6, 0x7f09051e

    .line 8
    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    const v7, 0x7f090827

    .line 9
    invoke-virtual {v5, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    const v8, 0x7f090504

    .line 10
    invoke-virtual {v5, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 11
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v9

    const v10, 0x7f0602ad

    invoke-virtual {v9, v10}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v9

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setTextColor(I)V

    .line 12
    iget v9, v4, Lcom/estrongs/android/ui/topclassify/e;->b:I

    invoke-virtual {v6, v9}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 13
    iget v6, v4, Lcom/estrongs/android/ui/topclassify/e;->c:I

    invoke-virtual {v7, v6}, Landroid/widget/TextView;->setText(I)V

    .line 14
    iget v6, v4, Lcom/estrongs/android/ui/topclassify/e;->e:I

    if-lez v6, :cond_0

    iget-boolean v6, v4, Lcom/estrongs/android/ui/topclassify/e;->f:Z

    if-eqz v6, :cond_0

    const/4 v6, 0x0

    .line 15
    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setVisibility(I)V

    const v6, 0x7f08044b

    .line 16
    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 17
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v6

    invoke-virtual {v6, v10}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v6

    .line 18
    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setTextColor(I)V

    .line 19
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    iget v7, v4, Lcom/estrongs/android/ui/topclassify/e;->e:I

    invoke-direct {p0, v7}, Lcom/estrongs/android/ui/topclassify/n;->b(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v7, ""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_0
    const/16 v6, 0x8

    .line 20
    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setVisibility(I)V

    .line 21
    :goto_1
    invoke-virtual {v5, v4}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 22
    iget-object v4, p0, Lcom/estrongs/android/ui/topclassify/n;->e:Landroid/view/View$OnClickListener;

    invoke-virtual {v5, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 23
    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_1
    move-object v1, v0

    :cond_2
    return-object v1
.end method

.method public a(Ljava/util/Map;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ">;)V"
        }
    .end annotation

    .line 24
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/c;->c:Ljava/util/List;

    if-eqz v0, :cond_2

    .line 25
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/topclassify/e;

    if-nez v1, :cond_0

    goto :goto_0

    .line 26
    :cond_0
    iget v2, v1, Lcom/estrongs/android/ui/topclassify/e;->d:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Integer;

    if-nez v2, :cond_1

    const/4 v2, 0x0

    goto :goto_1

    .line 27
    :cond_1
    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    :goto_1
    iput v2, v1, Lcom/estrongs/android/ui/topclassify/e;->e:I

    const/4 v2, 0x1

    .line 28
    iput-boolean v2, v1, Lcom/estrongs/android/ui/topclassify/e;->f:Z

    goto :goto_0

    :cond_2
    return-void
.end method

.method public b()I
    .locals 1

    const/4 v0, 0x5

    return v0
.end method

.method public e()V
    .locals 6

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/topclassify/c;->c:Ljava/util/List;

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/topclassify/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "filesend://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    const v4, 0x7f11020f

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const v3, 0x7f0806f1

    const/4 v5, 0x1

    invoke-direct {v0, v1, v3, v4, v5}, Lcom/estrongs/android/ui/topclassify/e;-><init>(Ljava/lang/String;III)V

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/topclassify/c;->a(Lcom/estrongs/android/ui/topclassify/e;)V

    .line 3
    new-instance v0, Lcom/estrongs/android/ui/topclassify/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    const v4, 0x7f110218

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const v3, 0x7f0806ff

    const/4 v5, 0x2

    invoke-direct {v0, v1, v3, v4, v5}, Lcom/estrongs/android/ui/topclassify/e;-><init>(Ljava/lang/String;III)V

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/topclassify/c;->a(Lcom/estrongs/android/ui/topclassify/e;)V

    .line 4
    new-instance v0, Lcom/estrongs/android/ui/topclassify/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    const v4, 0x7f1104ea

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const v3, 0x7f080704

    const/4 v5, 0x3

    invoke-direct {v0, v1, v3, v4, v5}, Lcom/estrongs/android/ui/topclassify/e;-><init>(Ljava/lang/String;III)V

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/topclassify/c;->a(Lcom/estrongs/android/ui/topclassify/e;)V

    .line 5
    new-instance v0, Lcom/estrongs/android/ui/topclassify/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    const v4, 0x7f110215

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const v3, 0x7f08070b

    const/4 v5, 0x4

    invoke-direct {v0, v1, v3, v4, v5}, Lcom/estrongs/android/ui/topclassify/e;-><init>(Ljava/lang/String;III)V

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/topclassify/c;->a(Lcom/estrongs/android/ui/topclassify/e;)V

    .line 6
    new-instance v0, Lcom/estrongs/android/ui/topclassify/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/ui/topclassify/c;->a:Landroid/content/Context;

    const v3, 0x7f110775

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0806fa

    const/4 v4, 0x5

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/estrongs/android/ui/topclassify/e;-><init>(Ljava/lang/String;III)V

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/topclassify/c;->a(Lcom/estrongs/android/ui/topclassify/e;)V

    return-void
.end method
